<%@ Page language="c#" Codebehind="ThemeOptions.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.HubAdmin.ThemeOptionsPage" MasterPageFile="~/ControlPanel/Masters/HubAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<CP:ResourceControl runat="server" resourcename="CP_Hub_ThemeSettings" />
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="HubThemeOptions" />
	<div class="CommonDescription">
		<CP:ResourceControl runat="server" resourcename="CP_Hub_ThemeSettings_Instructions" />
	</div>
	<CP:FileOnlyStatusMessage id="FOStatus" runat="server" visible="false" />
	
	<asp:PlaceHolder id="OptionHolder" runat="Server">
		<CP:ConfigOKStatusMessage id="Status" runat="server" visible="false" />
		<div class="FixedWidthContainer">
		<table cellSpacing="0" cellPadding="0" border="0">
		<tr>
			<td class="CommonFormFieldName">
				<strong><cp:resourcecontrol runat="Server" resourcename="CP_BlogAdmin_Options_ThemeSettings_EnableThemes" /></strong><br />
				<cp:ResourceControl runat="Server" resourcename="CP_Hub_ThemeSettings_EnableThemes_Help" />
			</td>
			<td class="CommonFormField">
				<cp:YesNoRadioButtonList id="enableThemes" runat="Server" repeatcolumns="2" />
			</td>
		</tr>
		<tr>
			<td class="CommonFormFieldName">
				<strong><cp:resourcecontrol runat="server" resourcename="CP_Hub_ThemeSettings_DefaultTheme" /></strong><br />
				<cp:ResourceControl runat="server" resourcename="CP_Hub_ThemeSettings_DefaultTheme_Help" />
			</td>
			<td class="CommonFormField">
			    <TWC:DropDownList runat="server" ID="defaultTheme" ShowHtmlWhenSelected="false" SelectListWidth="440" SelectListHeight="375" />
			</td>
		</tr>
		<tr>
            <td class="CommonFormFieldName">
	            <strong><cp:resourcelabel runat="server" resourcename="CP_Membership_Settings_Avatar_EnableAvatar" /></strong><br />
	            <cp:ResourceControl runat="Server" resourcename="CP_Membership_Settings_Avatar_EnableAvatar_Help" />
            </td>
            <td class="CommonFormField">
	            <cp:yesnoradiobuttonlist id="EnableAvatars" runat="server" repeatcolumns="2"  />
            </td>
        </tr>
        <tr>
            <td class="CommonFormFieldName">
	            <strong><cp:resourcelabel runat="server" resourcename="CP_Membership_Settings_Avatar_AvatarSize" /></strong><br />
	            <cp:ResourceControl runat="Server" resourcename="CP_Membership_Settings_Avatar_AvatarSize_Help" />
            </td>
            <td class="CommonFormField">
                <asp:textbox id="AvatarWidth" columns="1" maxlength="3" runat="server"  />
                x
	            <asp:textbox id="AvatarHeight" columns="1" maxlength="3" runat="server"  />
	            <asp:requiredfieldvalidator id="AvatarHeightValidator" runat="server" controltovalidate="AvatarHeight" errormessage="*" />
	            <asp:regularexpressionvalidator id="AvatarHeightRegExValidator" runat="server" controltovalidate="AvatarHeight" validationexpression="[0-9]*" errormessage="*" />
	            <asp:requiredfieldvalidator id="AvatarWidthValidator" runat="server" controltovalidate="AvatarWidth" errormessage="*" />
	            <asp:regularexpressionvalidator id="AvatarWidthRegExValidator" runat="server" controltovalidate="AvatarWidth" validationexpression="[0-9]*" errormessage="*" />
            </td>
        </tr>
		</table>
		</div>
		<P class="PanelSaveButton DetailsFixedWidth">
			<cp:ResourceLinkButton id="SaveButton" runat="Server" resourcename="Save" cssclass="CommonTextButton" />
		</P>
	</asp:PlaceHolder>
</asp:Content>